package com.ray.ba.starter.code.generator;

/**
 * TemplateResourceEnum
 *
 * @author ray
 * @date 2020/5/2
 */
public enum TemplateResourceEnum {
    ENTITY("Entity.java.ftl", "infra.entity"),
    MAPPER("Mapper.java.ftl","infra.mapper"),
    SERVICE("Service.java.ftl", "app.service"),
    SERVICE_IMPL("ServiceImpl.java.ftl", "app.service.impl"),
    CONVERTOR("Convertor.java.ftl", "app.convertor"),
    CONTROLLER("Controller.java.ftl", "api.controller.v1");

    private String resourcePath;
    private String packagePath;


    TemplateResourceEnum(String resourcePath, String packagePath){
        this.resourcePath = resourcePath;
        this.packagePath = packagePath;
    }



    public String getResourcePath() {
        return resourcePath;
    }

    public String getPackagePath() {
        return packagePath;
    }
}
